<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>开票帮助</title>
    <link rel="stylesheet" href="mui/css/mui.css">
    <script src="mui/js/mui.js"></script>
    <script src="js/jquery-1.11.3.js"></script>
    <link rel="stylesheet" href="css/style.css?v1.1.2">
    <style>
        .invoice-help .mui-table-view-cell>.payment-th>div.pub-collapse{padding-right: 1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
    </style>
</head>
<body>
<div class="mui-content">
    <div class="invoice-help">
        <div class="mui-card payment-collapse">
            <ul class="mui-table-view">
                <li class="mui-table-view-cell">
                    <a style="padding: 1rem 1rem;" class="mui-row payment-th" href="#">
                       <div class="pub-bg-down  pub-collapse">如何更改发票接收邮箱？如何更改发票接收邮箱？如何更改发票接收邮箱？</div>
                    </a>
                    <div class="mui-collapse-content pub-collapse-content invoice-help-collapse-content" style="display: none;">
                        打开我的订单详情发送至电子邮箱即可修改电子邮箱地址
                    </div>
                </li>
                <li class="mui-table-view-cell">
                    <a style="padding: 1rem 1rem;" class="mui-row payment-th" href="#">
                        <div class="pub-bg-down  pub-collapse">如何更改发票接收邮箱如何更改发票接收邮箱如何更改发票接收邮箱？</div>
                    </a>
                    <div class="mui-collapse-content pub-collapse-content invoice-help-collapse-content" style="display: none;">
                        打开我的订单详情发送至电子邮箱即可修改电子邮箱地址
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>
<script>
    $('.pub-collapse').click(function () {
        let collapse = $(this).parent('a').next('.pub-collapse-content');
        if(collapse.css("display")==="none"){
            collapse.css("display","block");
            $(this).css("background-image","url('images/up.png')")
        }else{
            collapse.css("display","none");
            $(this).css("background-image","url('images/down.png')")
        }
    })
</script>
</body>
</html>